﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp" %>
		<b>基本信息</b>
		<table>
			<tr>
				<td align="right" width="100">Identifier：</td>
				<td>${conf.identifier.stringIdentifier}</td>
			</tr>
			<tr>
				<td align="right">Job名称：</td>
				<td>${conf.name}</td>
			</tr>
			<tr valign="top">
				<td align="right">Job简介：</td>
				<td><pre>${conf.description}</pre></td>
			</tr>
			<tr>
				<td align="right">Job分类：</td>
				<td><a href="job-confs.action?catalog=${conf.catalog}">${ss:getCatalogName(catalogController, conf.catalog)}</a></td>
			</tr>
			<tr>
				<td align="right">所有者：</td>
				<td>${conf.owner} - (${ss:dateFormat(conf.createTime)})</td>
			</tr>
<c:if test="${conf.modifier!=null}">
			<tr>
				<td align="right">最后修改人：</td>
				<td>${conf.modifier} - (${ss:dateFormat(conf.modifyTime)})</td>
			</tr>
</c:if>
<c:if test="${conf.averageRunTime>=0}">
			<tr>
				<td align="right">平均执行耗时：</td>
				<td>${ss:timeBetween(conf.averageRunTime, -1)}</td>
			</tr>
</c:if>
		</table>
		<hr>
		<b>类型信息</b>
		<table>
			<tr>
				<td align="right" width="100">Job类型：</td>
				<td>${conf.type}</td>
			</tr>
<c:choose>
	<c:when test='${conf.type == "cmd"}'>
<jsp:include page="job-conf-view-type-cmd.jsp"/>
	</c:when>
	<c:when test='${conf.type == "compound"}'>
<jsp:include page="job-conf-view-type-compound.jsp"/>
	</c:when>
	<c:when test='${conf.type == "loop"}'>
<jsp:include page="job-conf-view-type-loop.jsp"/>
	</c:when>
</c:choose>
		</table>